[INFO] cloning repository https://github.com/FreddieRidell/rust-minimal-reproduction
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FreddieRidell/rust-minimal-reproduction" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreddieRidell%2Frust-minimal-reproduction", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreddieRidell%2Frust-minimal-reproduction'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1abf93730cded269044da4e871eec670d4c8d12a
[INFO] checking FreddieRidell/rust-minimal-reproduction against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreddieRidell%2Frust-minimal-reproduction" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/FreddieRidell/rust-minimal-reproduction on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/FreddieRidell/rust-minimal-reproduction
[INFO] finished tweaking git repo https://github.com/FreddieRidell/rust-minimal-reproduction
[INFO] tweaked toml for git repo https://github.com/FreddieRidell/rust-minimal-reproduction written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/FreddieRidell/rust-minimal-reproduction already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 836f511afe528a90f3d4fa62359e61c1046e4d76b572a05c118571b530850fa5
[INFO] running `Command { std: "docker" "start" "-a" "836f511afe528a90f3d4fa62359e61c1046e4d76b572a05c118571b530850fa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "836f511afe528a90f3d4fa62359e61c1046e4d76b572a05c118571b530850fa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "836f511afe528a90f3d4fa62359e61c1046e4d76b572a05c118571b530850fa5", kill_on_drop: false }`
[INFO] [stdout] 836f511afe528a90f3d4fa62359e61c1046e4d76b572a05c118571b530850fa5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f4354ead194db1271c4513a3f3bd95af2198e04f6958ec041607ca6d2136beb8
[INFO] running `Command { std: "docker" "start" "-a" "f4354ead194db1271c4513a3f3bd95af2198e04f6958ec041607ca6d2136beb8", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-minimal-reproduction v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `foo`
[INFO] [stdout]  --> src/bar.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod foo;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `foo`, create file "src/bar/foo.rs" or "src/bar/foo/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `foo`
[INFO] [stdout]  --> src/bar.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod foo;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `foo`, create file "src/bar/foo.rs" or "src/bar/foo/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `String`
[INFO] [stdout]  --> src/bar.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     String.from(foo::make_string()).split("").rev().join("")
[INFO] [stdout]   |     ^^^^^^-----
[INFO] [stdout]   |     |
[INFO] [stdout]   |     help: use the path separator to refer to an item: `String::from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `String`
[INFO] [stdout]  --> src/bar.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     String.from(foo::make_string()).split("").rev().join("")
[INFO] [stdout]   |     ^^^^^^-----
[INFO] [stdout]   |     |
[INFO] [stdout]   |     help: use the path separator to refer to an item: `String::from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `make_string` in module `foo`
[INFO] [stdout]  --> src/bar.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 |     String.from(foo::make_string()).split("").rev().join("")
[INFO] [stdout]   |                      ^^^^^^^^^^^ not found in `foo`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::foo::make_string;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `make_string`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 -     String.from(foo::make_string()).split("").rev().join("")
[INFO] [stdout] 4 +     String.from(make_string()).split("").rev().join("")
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `make_string` in module `foo`
[INFO] [stdout]  --> src/bar.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 |     String.from(foo::make_string()).split("").rev().join("")
[INFO] [stdout]   |                      ^^^^^^^^^^^ not found in `foo`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::foo::make_string;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `make_string`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 -     String.from(foo::make_string()).split("").rev().join("")
[INFO] [stdout] 4 +     String.from(make_string()).split("").rev().join("")
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/foo.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn make_string() -> str {
[INFO] [stdout]   |                         --- expected `str` because of return type
[INFO] [stdout] 2 |     "lovely string"
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ expected `str`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/foo.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn make_string() -> str {
[INFO] [stdout]   |                         --- expected `str` because of return type
[INFO] [stdout] 2 |     "lovely string"
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ expected `str`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]  --> src/foo.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn make_string() -> str {
[INFO] [stdout]   |                         ^^^ doesn't have a size known at compile-time
[INFO] [stdout] 2 |     "lovely string"
[INFO] [stdout]   |     --------------- this returned value is of type `&'static str`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]   = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]  --> src/foo.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn make_string() -> str {
[INFO] [stdout]   |                         ^^^ doesn't have a size known at compile-time
[INFO] [stdout] 2 |     "lovely string"
[INFO] [stdout]   |     --------------- this returned value is of type `&'static str`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]   = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]  --> src/main.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 |     println!("{}", foo::make_string());
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `ArgumentV1::<'a>::new_display`
[INFO] [stdout]   = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]  --> src/main.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 |     println!("{}", foo::make_string());
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `ArgumentV1::<'a>::new_display`
[INFO] [stdout]   = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-minimal-reproduction` due to 8 previous errors
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]  --> src/main.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 |     println!("{}", foo::make_string());
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]   = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-minimal-reproduction` due to 8 previous errors
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]  --> src/main.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 |     println!("{}", foo::make_string());
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]   = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0425, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0425, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f4354ead194db1271c4513a3f3bd95af2198e04f6958ec041607ca6d2136beb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4354ead194db1271c4513a3f3bd95af2198e04f6958ec041607ca6d2136beb8", kill_on_drop: false }`
[INFO] [stdout] f4354ead194db1271c4513a3f3bd95af2198e04f6958ec041607ca6d2136beb8
